package com.atguigu.gulimall.order.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Package com.atguigu.gulimall.order.feign
 * @author wzb
 * @date 2022-09-08 9:13
 * @version V1.0
 * @Copyright ©
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {



    @GetMapping("/product/spuinfo/skuId/{id}")
    R getSpuInfoBySkuId(@PathVariable("id") Long skuId);
}
